package com.huahai.security.core.validate.code;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: Jun
 * @Date: 2020/7/17
 *
 * 验证码生成器 接口
 */
public interface ValidateCodeGenerator {

    /**
     * 生成验证码逻辑接口
     * @param request
     * @return
     */
    ValidateCode generate(HttpServletRequest request);

}
